Specializing Trees for E cient Functional Tree Decoration
نویسنده
چکیده
This paper presents a technique to specialize pure functional programs that perform multiple traversals over a tree. This technique specializes the original tree for the subsequent traversals. Several optimizations which increase program eeciency are presented. The multiple traversal algorithms are described by an Attribute Grammars (AG) and the corresponding functional programs are automatically derived. A functional implementation of a simple AG is presented and rst results are compared with other functional approaches.
منابع مشابه
Conc-Trees for Functional and Parallel Programming
Parallel algorithms can be expressed more concisely in a functional programming style. This task is made easier through the use of proper sequence data structures, which allow splitting the data structure between the processors as easily as concatenating several data structures together. E cient update, split and concatenation operations are essential for declarative-style parallel programs. Th...
متن کاملEecient Bulk Operations on Dynamic R-trees
We present a simple lazy bu ering technique for performing bulk operations on multidimensional spatial indexes (data structures), and show that it is e cient in theory as well as in practice. We present the technique in terms of the so-called R-tree and its variants, as they have emerged as practically e cient indexing methods for spatial data.
متن کاملSpecializing Aronszajn Trees by Countable Approximations
We show that there are proper forcings based upon countable trees of creatures that specialize a given Aronszajn tree.
متن کاملMatrix Algorithms Using Quadtrees Invited Talk, Atable-92 Technical Report 357
Many scheduling and synchronization problems for large-scale multiprocessing can be overcome using functional (or applicative) programming. With this observation, it is strange that so much attention within the functional programming community has focused on the \aggregate update problem" [10]: essentially how to implement FORTRAN arrays. This situation is strange because in-place updating of a...
متن کاملProbabilistic analysis of the asymmetric digital search trees
In this paper, by applying three functional operators the previous results on the (Poisson) variance of the external profile in digital search trees will be improved. We study the profile built over $n$ binary strings generated by a memoryless source with unequal probabilities of symbols and use a combinatorial approach for studying the Poissonized variance, since the probability distribution o...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1997